package com.crm.model.qo.contractManager;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author luojie
 * @date 2021/9/23 8:55
 */
@Data
public class UpdateContractAddQO {

    //合同id
    private String contractId;

    //当前产品的finish表id
    private String finishOrderProductId;

    //当前产品id
    private String currentProductId;

    //当前产品编码
    private String currentProductCode;

    //当前产品名称
    private String currentProductName;

    //当前产品成交价格
    private BigDecimal currentProductDealPrice;

    //支付方式
    private String paymentMethod;

    //补款金额
    private BigDecimal replenishmentAmount;

    //升级产品id
    private String updateProductId;

    //升级产品名称
    private String updateProductName;

    //合同创建开始日期
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date contractStartDate;

    //合同创建截止日期
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date ContractEndDate;

    //合同类型
    private String contractType;

    //客户邮箱
    private String customerEmail;

    //关联跟进记录
    private String followRecordId;

    //关联赢单商机
    private String opportunityId;

    //合作开发人员
    private List<ContractCoDeveloperQO> coDeveloperList;

    //合同审核附件
    private String reviewAnnexAccessUrl;
    //合同备注
    private String contractReviewNotes;
    //合同分类
    private Integer contractCategory;
    //是否合作开发
    private String whetherCooperateDevelopment;
    //是否是会员合同
    private String whetherCheck;
    //会员主合同
    private String masterMembershipContract;
    //审核是否加盖公章
    private String applyElectronicContract;
}
